<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head></h:head>
<h:body>
<h:form id="form">  


	<p:panel header="Cadastro de Usuário" >
	<h:panelGrid columns="2" columnClasses="label,value" styleClass="grid">  
        
            	<h:outputText value="Nome: " />  
                <p:inputText id="nome" value="" required="true" label="nome"/> 
                
                <h:outputText value="Sexo: "/>
                <p:selectOneRadio id="options" value="">
                	<f:selectItem itemLabel="Feminino" itemValue="1"/>
                	<f:selectItem itemLabel="Masculino" itemValue="2"/>
                </p:selectOneRadio>
                
                <h:outputText value="RG: "/>
                <p:inputMask value="" mask="9-999-999-9"/>
                
                <h:outputText value="CPF: "/>
                <p:inputMask value="" mask="999-999-999-99"/>
                                
                <h:outputText value="Telefone residencial: "/>
                <p:inputMask value="" mask="(99)9999-9999"/>
                
                <h:outputText value="Telefone comercial: "/>
                <p:inputMask value="" mask="(99)9999-9999"/>
                
                <h:outputText value="Telefone celular: "/>
                <p:inputMask value="" mask="(99)9999-9999"/>
                
                <h:outputText value="E-mail: "/>
                <p:inputText value=""/>

            	<h:outputLabel for="usuario" value="Usuário: " />  
            	<p:inputText id="usuario" value="" required="true" label="usuario"/>  
        		
        		<h:outputLabel for="senha" value="Senha: " />  
            	<p:password value="" /> 
        		  
        </h:panelGrid>  
    </p:panel>  

	<h:panelGrid columns="2" columnClasses="label,value" styleClass="grid"> 
               <p:commandButton value="Salvar" />  
     </h:panelGrid>  
 </h:form>
</h:body>
</html>